package org.hefan.user.service;

import org.apache.catalina.servlet4preview.http.HttpServletRequest;
import org.hefan.basic.service.IBaseService;
import org.hefan.basic.util.AjaxResult;
import org.hefan.user.domain.Logininfo;
import org.hefan.user.domain.User;
import org.hefan.user.dto.LoginDto;
import org.hefan.user.dto.PhoneLoginDto;

import java.util.Map;

public interface ILogininfoService extends IBaseService<Logininfo> {
    AjaxResult accountLogin(LoginDto loginDto);

    AjaxResult wxUserLogin(Map<String, String> map);

    AjaxResult wxUserBinder(Map<String, String> map);

    AjaxResult phoneLogin(PhoneLoginDto phoneLoginDto, HttpServletRequest request);
}
